#include "AttackingState.h"
#include "StrikeForceAlphaState.h"
#include "StrikeForceBetaState.h"

int AttackingState::attacking_tanks = 0;

AttackingState::AttackingState(void) {
}


AttackingState::~AttackingState(void)
{
}

Command AttackingState::GetCommand(Agent* agent) {
	attacking_tanks++;

	if (attacking_tanks % 2 == 0) {
		agent->setState(new StrikeForceAlphaState());
	}
	else {
		agent->setState(new StrikeForceBetaState());
	}

	return agent->GetCommand();
}